package com.yugao.fintech.antelope.mps.model.rqrs.field;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 消息字段
 *

 */
@Getter
@Setter
@ApiModel(value = "消息字段")
public class MsgFieldResp extends MsgFieldBase {
	private Long id;

	@NotNull(message = ValidationCons.NOT_EMPTY)
	@ApiModelProperty(value = "任务id")
	private Long taskId;

	@ApiModelProperty(value = "创建时间")
	private Date createdAt;
	
	@ApiModelProperty(value = "更新时间")
	private Date updatedAt;
	
	@ApiModelProperty(value = "创建者")
	private String createdBy;
}
